package com.yejhxt.inter;

import java.util.List;
import java.util.Map;

import com.yejhxt.model.role;

public interface roleMapper {
    int deleteByPrimaryKey(Long roleid);
    List<role> selectAll();
    int insert(role record);
    role selectByPrimaryKeyWithDevices(Long roleid);
    int insertSelective(role record);
    void deleteByDeviceId(Long deviceid);
    role selectByPrimaryKey(Long roleid);

    int updateByPrimaryKeySelective(role record);

    int updateByPrimaryKey(role record);
}